<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{php echo $shop['companyname'] ? $shop['companyname'] : "收银台"}</title>
    <script src="{MODULE_URL}template/resources/js/jquery-2.1.1.min.js"></script>
    <link href="{MODULE_URL}template/resources/js/bootstrap.min.css" rel="stylesheet">
    <script src="{MODULE_URL}template/resources/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="{MODULE_URL}template/resources/layui/css/layui.css" media="all">
    <script src="{MODULE_URL}template/resources/layui/layui.js"></script>
    <script src="{MODULE_URL}template/resources/js/webcommon.js?"></script>
    <link href="{MODULE_URL}template/mobile/{$cfg['floder']}/base.css" rel="stylesheet">
</head>
<style>
    html{ font-size:12px;}
    body{padding:15px; background:#000;}
    .layui-tab-title .layui-this{color:#FFF; background:#009688; border-color:#009688}
    .layui-tab-content{ padding:10px 0}
    .layui-form-label{ width:110px}
    .layui-input-block{ margin-left:120px;}
</style>
<script>
    function showdesk(){
        $("#print_iframe").attr("src","jetsumprint://order?event=showdesk&shopid={php echo $shopid}&userid={php echo $userid}&weid={$_W['uniacid']}");
    }
</script>
<body>
<header class="header"> <img src="{php echo tomedia($cfg['logo'])}" onerror="this.style.display='none'" class="logo" style="height:48px;" />
    <div class="top_nav">
        <ul class="layui-nav">
            <li class="layui-nav-item"><a href="javascript:showdesk()"><i class="fa fa-minus"></i> 显示桌面</a></li>
            <li class="layui-nav-item"> <a href="javascript:;"><i class="fa fa-bookmark"></i> 今日情况</a></a>
                <dl class="layui-nav-child" style="right:0;left:auto">
                    <dd><a href="javascript:funSys_today()"><i class="fa fa-bookmark"></i> 销售汇总</a></dd>
                    <dd><a href="javascript:funSys_todaygoods()"><i class="fa fa-bookmark"></i> 商品汇总</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="{$_W['siteroot']}/web/index.php?c=site&a=entry&do=shop&m=j_hmoney&i={$_W['uniacid']}" target="_blank"><i class="fa fa-yen"></i> 后台管理</a></li>
            <li class="layui-nav-item"><a href="javascript:funSys_message()"><i class="fa fa-bell"></i> 消息</a></li>
            {if $cfg['helplink']}<li class="layui-nav-item"><a href="javascript:funSys_help()"><i class="fa fa-question-sign"></i> 帮助中心</a></li>{/if}
            <li class="layui-nav-item"> <a href="javascript:;">管理</a>
                <dl class="layui-nav-child" style="right:0;left:auto">
                    <dd><a href="javascript:funSys_changepass()"><i class="fa fa-lock"></i> 修改密码</a></dd>
                    <dd><a href="javascript:funSys_handover()"><i class="fa fa-off"></i> 交班退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</header>